{extend name='public/base' /}

{block name="content"}
<style type="text/css">
  html {
    background-color: #fff !important;
  }
  .center{
    text-align: center;
  }
</style>
<div class="layui-col-md12">
  <div class="center" style="font-size: 20px">缴费明细----账单总额:{$data.all_amount}</div>
  <div class="" id="my-table">
    <table class="layui-table">
      <thead>
      <tr>
        <td class="center">缴费前金额</td>
        <td class="center">缴费金额</td>
        <td class="center">剩余金额</td>
        <td class="center">缴费时间</td>
      </tr>
      </thead>
      <tbody class="role_list">
      {foreach $data['list'] as $key=>$id}
      <tr>
        <td class="center">{$id.all_amount}</td>
        <td class="center">{$id.amount}</td>
        <td class="center">{$id.balance_amount}</td>
        <td class="center">{$id.create_time}</td>
      </tr>
      {/foreach}
      </tbody>

    </table>
  </div>
</div>
{/block}

{block name="js"} <!--js处理区-->
{/block}
